import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useDesignerStore = defineStore('designer', () => {
    const designer = ref({
        widgetList:{},
        formConfig:{}
    })
    
    const setDesigner = (value) => {
        designer.value = value
    }
    return { 
        designer,
        setDesigner
    }
})
